Part Number Hot Search : 
N4737 88I8030 FDS8936S RLZ22B 4742A L25BY T211029 1N4734AP
Product Description
Full Text Search
 

To Download AS5130ASST Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 AS5130
8 B i t P r o g r a m m a b l e M a g n e t i c R o ta r y E n c o d e r with Motion Detection & Multiturn
D a ta S he e t
1 General Description
The AS5130 is a contactless magnetic rotary encoder for accurate angular measurement over a full turn of 360. It is a system-on-chip, combining integrated Hall elements, analog front end and digital signal processing in a single device. The angle can be measured using only a simple two-pole magnet rotating over the center of the chip. The magnet may be placed above or below the IC. The absolute angle measurement provides instant indication of the magnet's angular position with a resolution of 8 bit = 256 positions per revolution. This digital data is available as a serial bit stream and as a PWM signal. The AS5130 can be operated in pulsed mode (Vsupply=off), which reduces the average power consumption significantly. During Vsupply=off, the measured angle can be stored using an internal storage register supplied by a low power voltage line. This mode achieves very low power consumption during polling of the rotary position of the magnet. If the position of the magnet changes, then the motion detection feature wakes up an external system. The device is capable of counting the amount of magnet revolutions. The multi turn counter value is stored in a register and can be read in addition to the angle information. Furthermore, any arbitrary position can be set as zero-position. The system is tolerant to misalignment, air gap variations, temperature variations and external magnetic fields and high reliability due to non-contact sensing. Figure 1. Block Diagram
SINP / SINN / COSP / COSN
2 Key Features
360 contactless angular position encoding Two digital 8-bit absolute outputs: - Serial interface - Pulse width modulated (PWM) output User programmable zero position High speed: up to 30000 rpm Failure detection mode for magnet placement monitoring and loss of power supply Wide temperature range: - 40C to +125C Multi Turn counter / Movement detection Small Pb-free package: SSOP-16 (5.3mm x 6.2mm) Automotive qualified to AEC-Q100, grade 1
3 Applications
The AS5130 is an ideal solution for Ignition key position sensing, Steering wheel position sensing, Transmission gearbox encoder, Front panel rotary switches and replacement of Potentiometers.
AS5130
Sin
PWM Decoder
PWM
Hall Array & Frontend Amplifier
Cos
tracking ADC & Angle decoder
Angle
Zero Pos.
Mag AGC
Absolute Serial Interface (SSI)
DIO CS DCLK C1 CAO
AGC power management OTP
PROG
www.austriamicrosystems.com
Revision 1.09
1 - 40
AS5130
Data Sheet - A p p l i c a t i o n s
Contents
1 General Description.............................................................................................................................. 2 Key Features ........................................................................................................................................ 3 Applications .......................................................................................................................................... 4 Pin Assignments...................................................................................................................................
Pin Descriptions ...................................................................................................................................................
1 1 1 4
4
5 Absolute Maximum Ratings.................................................................................................................. 6 Electrical Characteristics ......................................................................................................................
Timing Characteristics .......................................................................................................................................... Magnetic Input Range ..........................................................................................................................................
5 6
9 9
7 Detailed Description ...........................................................................................................................
Connecting the AS5130 ..................................................................................................................................... Serial 3-Wire Connection (Default Setting) .................................................................................................... Serial 3-Wire Connection (OTP Programming Option) .................................................................................. 1-Wire PWM Connection................................................................................................................................ Analog Output ................................................................................................................................................ Analog Sin/Cos Outputs with External Interpolator ........................................................................................ Serial Synchronous Interface (SSI) ....................................................................................................................
10
10 10 12 12 13 14 15
Commands of the SSI in Normal Mode.......................................................................................................... 15 Commands of the SSI in Extended Mode ...................................................................................................... 16 Multi Turn Counter.............................................................................................................................................. AS5130 Status Indicators ................................................................................................................................... 19 19
Lock Status Bit ............................................................................................................................................... 19 Magnetic Field Strength Indicators................................................................................................................. 20 "Pushbutton" Feature ......................................................................................................................................... High Speed Operation ........................................................................................................................................ Propagation Delay.......................................................................................................................................... Sampling Rate................................................................................................................................................ Chip Internal Lowpass Filtering ...................................................................................................................... Digital Readout Rate ...................................................................................................................................... Total Propagation Delay of the AS5130 ......................................................................................................... Reduced Power Modes ...................................................................................................................................... 20 21 21 21 21 22 22 22
Low Power Mode ........................................................................................................................................... 22 Power Cycling Mode ...................................................................................................................................... 23 Polling Mode .................................................................................................................................................. 24
8 Application Information .......................................................................................................................
Benefits of AS5130............................................................................................................................................ Application Example 1 ........................................................................................................................................ Application Example II 3-wire sensor with magnetic field strength indication..................................................... Application Example III: Low-power encoder ..................................................................................................... Application Example IV: Polling mode................................................................................................................ Accuracy of the Encoder system ........................................................................................................................ Quantization Error .......................................................................................................................................... Vertical Distance of the Magnet ..................................................................................................................... Choosing the Proper Magnet ......................................................................................................................... Magnet Placement .........................................................................................................................................
27
27 27 27 28 29 29 29 31 31 32
www.austriamicrosystems.com
Revision 1.09
2 - 40
AS5130
Data Sheet - A p p l i c a t i o n s
Lateral Displacement of the Magnet .............................................................................................................. 34 Magnet Size ................................................................................................................................................... 35
9 Package Drawings and Markings .......................................................................................................
Recommended PCB Footprint ...........................................................................................................................
37
38
10 Ordering Information.........................................................................................................................
39
www.austriamicrosystems.com
Revision 1.09
3 - 40
AS5130
Data Sheet - P i n A s s i g n m e n t s
4 Pin Assignments
Figure 2. Pin Assignments (Top View)
CAO PROG VSS SINP SINN COSP COSN TestCoil
1 2 3 4 5 6 7 8
16 15 14
DVDD PWM WAKE C1 AVDD DIO CS DCLK
AS5130
13 12 11 10 9
Pin Descriptions
Table 1. Pin Descriptions Pin Name CAO PROG VSS SINP SINN COSP COSN Test Coil DCLK CS DIO AVDD C1 WAKE PWM DVDD Pin Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Description Indicates if the magnetic field is present. If the field is too low, the signal is HI. OTP Programming Pad, programming voltage. For normal operation it must be left unconnected. Supply Ground. Used for factory testing. For normal operation it must be left unconnected. Used for factory testing. For normal operation it must be left unconnected. Used for factory testing. For normal operation it must be left unconnected. Used for factory testing. For normal operation it must be left unconnected. Test pin. Must be left unconnected. Clock Source for SSI communication. Schmitt trigger input. Chip Select for SSI. Active high. Schmitt trigger input. Data input / output for SSI communication. Positive Supply Voltage 5V. Test mode selector. For normal operation it must be connected to VSS. Interrupt output. Used for polling mode. Open Drain NMOS. Use pull-up resistor with >1.5k. Pulse Width Modulation output. 0.5us width step per LSB. Pin to connect to low power supply for polling mode. Must be connected to VSS in normal mode.
www.austriamicrosystems.com
Revision 1.09
4 - 40
AS5130
Data Sheet - A b s o l u t e M a x i m u m R a t i n g s
5 Absolute Maximum Ratings
Stresses beyond those listed in Table 2 may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in Electrical Characteristics on page 6 is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Table 2. Absolute Maximum Ratings Parameter Supply Voltage Input Pin Voltage Input Current (latchup immunity) Electrostatic Discharge Package Thermal Resistance SSOP-16 Storage Temperature Ambient Temperature Junction Temperature 133 -55 -40 Min 0.3 VSS-0.5 -100 Max 7 AVDD 100 2 168 125 125 150 Units V V mA kV K/W C C C Norm: IPC/JEDEC J-STD-020C. The reflow peak soldering temperature (body temperature) specified is in accordance with IPC/JEDEC J-STD-020C "Moisture/Reflow Sensitivity Classification for Non-Hermetic Solid State Surface Mount Devices". The lead finish for Pb-free leaded packages is matte tin (100% Sn). Norm: EIA/JESD78 ClassII Level A Norm: JESD22-A114E Still Air / Single Layer PCB Comments Only relevant for polling operation mode, supply voltage with capacitor of the integrated storage register during toff phase of AVDD
Package body temperature
260
C
Humidity non-condensing
5
85
%
www.austriamicrosystems.com
Revision 1.09
5 - 40
AS5130
Data Sheet - E l e c t r i c a l C h a r a c t e r i s t i c s
6 Electrical Characteristics
TAMB = -40 to +125C, unless otherwise noted. Table 3. Electrical Characteristics Symbol AVDD DVDD IDD Ioff N Parameter Positive Supply Voltage Polling Mode Supply Voltage Power Supply Current Power Down Mode Resolution Startup from zero TPwrUp Power Up Time Startup with preset AGC (Supplied during toff phase of AVDD from the external buffer capacitor via DVDD pin) Startup from sleep power mode tda tdd tdelay T INLcm TN PORr PORf Hyst Parameters for Magnet n N MD MT Bi s BDC Rotational Speed Resolution Magnet diameter Magnet thickness Magnetic input range Magnetic Sensitivity of AGC Magnetic Offset Valid for use of full range of sensitivity AGC value available at SSI Magnetic stray field without gradient 32 0.5 Diametrically magnetized 6 2.5 75 5 4 Frequencies above 1000 rpm causes an additional not specified DNL Error -30000 30000 8 rpm bit mm mm mT LSB/ mT mT Power-On-Reset levels Propagation Delay Tracking rate Signal Processing Delay Analog filter time constant Accuracy Transition Noise Analog signal path; over full temperature range Step rate of tracking ADC; 1 step = 1.406 Total signal processing delay, Analog + Digital + SSI readout (tda + tdd + tSSI) Internal lowpass filter Centered Magnet Within horizontal displacement radius (see parameters for magnet) rms (1 sigma) VDD rising VDD falling Hysteresis | PORr - PORf | 3.7 3.4 4 3.7 500 4.1 -2 -3 6.6 0.85 15 1.15 1.4 8 1.406 2000 250 150 17 1.45 21.55 12.5 2 3 0.235 4,3 3.9 V V mV s s s s s Conditions Except OTP programming Min 4.5 3.6 Typ 5 5 Max 5.5 5.5 19 2 Units V V mA mA bit
www.austriamicrosystems.com
Revision 1.09
6 - 40
AS5130
Data Sheet - E l e c t r i c a l C h a r a c t e r i s t i c s
Table 3. Electrical Characteristics (Continued) Symbol Parameter Conditions Startup from zero TPwrUp Power up time Startup with preset AGC (Supplied during toff phase of AVDD from the external buffer capacitor via DVDD pin) Startup from sleep power mode Vout_wake
up
Min
Typ
Max 2000 250 150 5
Units
us
Wake up output Angle difference threshold for wake up generation
Open drain output with tri-state behavior, see Fig 10 Factory setting is 4 LSB, value is accessible by SSI in buffered register and can be changed by customer. 0
V
WakeLSB
127
LSB
DC/AC Characteristics for Digital Inputs and Outputs CMOS Input VIH VIL ILEAK High level Input voltage Low level Input Voltage Input Leakage Current CMOS Output VOH VOL CL tslew High level Output voltage Low level Output Voltage Capacitive Load Slew Rate External capacitive load C_L = 35pF External series resistance R = 0 Junction temperature TJ = 136C Rise time of the internal driver t_rise = 3ns Fall time of the internal driver t_fall = 3ns static voltage at pin PROG 8.0 VDD 0.5 VSS + 0.4 35 30 V V pF ns 0.7 x VDD 0.3 x VDD 1 V V A
tdelay
Time Rise Fall
15
ns
Programming Parameters VPROG IPROG TambPROG tPROG VR,prog VR,unprog NPWM PWMIN PWMAX PWP fPWM Programming Voltage Programming Current Programming ambient temperature Programming time Analog readback voltage during programming timing is internally generated during Analog Readback mode at pin PROG 0 2 2.2 8 angle = 0 (00H) angle = 358.6 (FFH) over full temperature range =1 / PWM period 0.59 150.9 151.5 5.44 0.556 142.8 7 0.526 135 9.18 142.3 134.61 8.5 100 85 4 0.5 3.5 V mA C s V
8-bit PWM output PWM resolution PWM pulse width PWM pulse width PWM period PWM frequency bit s s s kHz
www.austriamicrosystems.com
Revision 1.09
7 - 40
AS5130
Data Sheet - E l e c t r i c a l C h a r a c t e r i s t i c s
Table 3. Electrical Characteristics (Continued) Symbol Hyst Serial 8-bit Output fCLK tCLK fCLK, P Clock Frequency Clock Frequency Normal operation During OTP programming 6 166.6 250 500 MHz ns kHz Parameter Digital hysteresis Conditions at change of rotation direction Min Typ 1 Max Units bit
www.austriamicrosystems.com
Revision 1.09
8 - 40
AS5130
Data Sheet - E l e c t r i c a l C h a r a c t e r i s t i c s
Timing Characteristics
TAMB = -40 to 125C, unless otherwise noted. Table 4. Timing Characteristics Symbol t0 t1 t2 t3 t4 t5 Parameter Rising CLK to CS Chip select to positive edge of CLK Chip select to drive bus externally Setup time command bit, Data valid to positive edge of CLK Hold time command bit, Data valid after positive edge of CLK Float time, Positive edge of CLK for last command bit to bus float Bus driving time, Positive edge of CLK for last command bit to bus drive Setup time data bit, Data valid to positive edge of CLK Hold time data bit, Data valid after positive edge of CLK Hold time chip select, Positive edge CLK to negative edge of chip select Bus floating time, Negative edge of chip select to float bus Timeout period in 2-wire mode (from rising edge of CLK) Conditions Min 15 15 -30 30 30 CLK/2 +0 CLK/2 +0 CLK/2 +0 30 CLK/2 CLK/2 +30 CLK/2 +30 CLK/2 +30 Typ Max ---Units ns ns ns ns ns ns
t6 t7 t8 t9
ns ns ns ns
t10 tTO
0 20
30 24
ns s
Magnetic Input Range
The magnetic input range is defined by the AGC loop. This regulating loop keeps the Hall sensor output in the optimum range for low SNR by adjusting the Hall bias current. This loop can adjust to a magnetic field strength variation of 38%. The AGC output voltage is an indicator for the magnetic field. The nominal magnetic field for a balanced AGC is defined by the Hall bias and the Hall sensitivity and can be set by a variable gain in the signal path. The gain can be set in 8 steps in the OTP or by the SSI in a mirror register. The resulting magnetic input range is a value of Bnominal38% inside of a range of 32mT ...75mT, if the trimming is performed by the customer. Table 5. Magnetic Input Range Setting Binary Gain A Blimit 0 000 0.9 Max. 75mT 1 001 1.05 2 010 1.2 3 011 1.4 4 100 1.65 5 101 1.9 6 110 2.2 7 111 2.55 Min. 32mT
www.austriamicrosystems.com
Revision 1.09
9 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
7 Detailed Description
Connecting the AS5130
The AS5130 can be connected to an external controller in several ways as listed below: Serial 3-wire connection (default setting) Serial 3-wire connection (OTP programming option) 1-wire PWM connection Analog output Analog Sin/Cos outputs with external interpolator
Serial 3-Wire Connection (Default Setting)
In this mode, the AS5130 is connected to the external controller via three SSI signals: Chip Select (CS), Clock (CLK) input and DIO (Data) in/output. This configuration not only helps to read and write data but also defines different operation modes. The data transfer in all cases is done via the DIO port. Figure 3. Standard SSI Serial Data Interface
+5V AVDD VDD CS 100n AS5130 AS5130 CLK DIO micro controller VDD
VSS
VSS VSS
www.austriamicrosystems.com
Revision 1.09
10 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
Figure 4. Normal Operation Mode
CMD_PHASE
DATA_PHASE
DCLK t0 CS t5
CMD 4 LO CMD 0
t1
t9
DIO t3 DIO t4
CMD t7 t8
D 15 D 14 D0
t6
t10 READ
t11 t12 DIO
D 15 D 14
t10 WRITE
D0
Table 6. Serial Bit Sequence (16bit read/write) Write Command C4 C3 C2 Read/Write Data D8 D7 D6 D5 D4 D3 D2 D1 D0
C1 C0 D15 D14 D13 D12 D11 D10 D9
Figure 5. Extended Operation Mode (for access of OTP only)
CMD_PHASE
DATA_PHASE_EXTENDED
DCLK t0 CS t5 DIO
CMD4 HI CMD2 CMD0
t1
t9
CMD t7 t10 READ
t3 DIO t4
t6
D45
t8
D44 D0
t11 DIO
D45
t10 t12
D44 D0
WRITE
Table 7. Serial Bit Sequence (16bit read/write) Write Command C4 C3 C2 C1 C0 D15 D14 D13 D12 D11 D10 Read/Write Data D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
www.austriamicrosystems.com
Revision 1.09
11 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
Serial 3-Wire Connection (OTP Programming Option)
This mode provides with an option to configure the serial interface for programming the OTP register. Using a clock input (CLK), DIO (Data) in/output and CS pin, it is possible to write and read out data from the OTP Register. The data transfer is done via the DIO channel. For programming, the PROG pin must be connected to +8V. Analog readout for trimming verification is mandatory. Figure 6. Serial Data Transmission in Continuous Readout Mode
+5V AVDD VDD CS 100n AS5130 DCLK AS5130 DIO PROG VSS +8V VSS VSS micro controller VDD
1-Wire PWM Connection
If the line (PWM) is used as angle output, the total number of connections can be reduced to three, including the supply lines. This type of configuration is especially useful for remote sensors. Low power mode is not possible in this configuration. If the AS5130 angular data is invalid, the PWM output will remain at low state. Figure 7. Data Transmission with Pulse Width Modulated (PWM) Output
+5V AVDD VDD AS5130 PWM VSS VDD
100n
micro controller
VSS VSS
The minimum PWM pulse width tON (PWM = high) is 1 LSB @ 0 (Angle reading = 00H). 1LSB = nom. ,0.556s. The PWM pulse width increases with 1LSB per step. At the maximum angle 358.6 (Angle reading = FFH), the pulse width tON (PWM = high) is 256 LSB and the pause width tOFF (PWM = low) is 1 LSB. This leads to a total period (tON + tOFF) of 257LSB.
www.austriamicrosystems.com
Revision 1.09
12 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
PWM out 5V 5V 0 0.556s 71.7s 142.3s ton
142.3s
71.15s 128
0.556s 255
toff Position
Position 0 127 128 255
Angle 0 178.59 180 358.59
High 1 128 129 256
t_high 0,556 71,15s 71,7s 142,3s
Low 256 129 128 1
t_low 142,3 71,7s 71,15s 0,556s
Duty-Cycle 0.39% 49.4% 50.2% 99.6%
This means that the PWM pulse width is (position + 1) LSB, where position is 0....255. The tolerance of the absolute pulse width and frequency can be eliminated by calculating the angle with the duty cycle rather than with the absolute pulse width: t ON angle [ 8 - bit ] = 257 -------------------------- -1 t ON + t OFF results in an 8-bit value from 00H to FFH, 360 angle [ ] = -------256 results in a degree value from 0 ...358.6 Note: The absolute frequency tolerance is eliminated by dividing tON by (tON+TOFF), as the change of the absolute timing effects both TON and TOFF in the same way. t ON 257 -------------------------- - 1 t ON + t OFF (EQ 2) (EQ 1)
Analog Output
The AS5130 can generate a ratiometric analog output voltage by low-pass filtering the PWM output. Figure 8 shows a simple passive 2nd order low pass filter as an example. In order to minimize the ripple on the analog output, the cut-off frequency of the low pass filter should be well below the PWM base frequency.
www.austriamicrosystems.com
Revision 1.09
13 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
Figure 8. Ratiometric Analog Output
+5V AVDD VDD VDD
100n
AS5130 PWM VSS
R4k7 C1F
analog out
micro controller
VSS VSS
5V Analog out
0V
PWMout Angle 0 180 360
Analog Sin/Cos Outputs with External Interpolator
By connecting C1 to VDD, the AS5130 provides analog Sine and Cosine outputs (SINP, COSP) of the Hall array frontend for test purposes. These outputs allow the user to perform the angle calculation by an external ADC + C, e.g. to compute the angle with a high resolution. In addition, the inverted Sinus and Cosine signals (SINN, COSN; see dotted lines) are available for differential signal transmission. The input resistance of the receiving amplifier or ADC should be greater than 100k. The signal lines should be kept as short as possible, longer lines should be shielded in order to achieve best noise performance. The SINN / COSN / SINP / COSP signals are amplitude controlled to ~1.3Vp (differential) by the internal AGC controller. The DC bias voltage is 2.25 V. If the SINN and COSN outputs cannot be sampled simultaneously, it is recommended to disable the automatic gain control (see Table 8) as the signal amplitudes may be changing between two readings of the external ADC. This may lead to less accurate results.
www.austriamicrosystems.com
Revision 1.09
14 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
Figure 9. Sine and Cosine Outputs for External Angle Calculation
+5V VDD VDD DA micro controller DA VSS VSS C1 VDD SINN SINP COSN COSP VSS
AS5130 AS5130
100n
Serial Synchronous Interface (SSI)
Commands of the SSI in Normal Mode
Table 8. SSI in Normal Mode
# 23 22 21 20 19 18 17 16 7 6 5 4 3 2 1 0 RD_BOTH STORE REF RD2SIN RD_MULTI RD_ANGLE cmd WRITE CUST WD2COS SET TEST CFG1 reserved HYST_RST WD2SIN WRITE CONFIG -READ CUST RD2COS bin 10111 10110 10101 10100 10011 10010 10001 10000 00111 00110 00101 00100 00011 00010 00001 00000 mode write write write write write write write write read read read read read read read read store _ok xen_ 7 lock lock vdd_ ok Multiturn <7:0> reg_ set nc inv_ 6 nc xen_ 5 nc inv_ 5 nc xen_ 4 inv_ 4 xen_ 3 angle <7:0> angle_stored <7:0> inv_ 3 xen_ 2 inv_ 2 xen_ 1 inv_ 1 xen_ 0 parit y inv_ 0 parit y parit y wlsb_ wlsb_ wlsb 6 5 _4 xen_ 7 inv_7 xen_ 6 wlsb _3 inv_ 6 wlsb _2 xen_ 5 wlsb _1 inv_ 5 wlsb _0 xen_ 4 gain _2 inv_ 4 gain _1 xen_ 3 gain _0 inv_ 3 nc xen_ 2 nc inv_ 2 nc xen_ 1 nc inv_ 1 nc xen_ 0 parit y inv_ 0 rst_ot nc p xen_ 7 go2sl eep rst_ nc multi inv_ 6 setH yst xen_ 5 inv_ 5 xen_ 4 inv_ 4 xen_ 3 inv_ 3 xen_ 2 inv_ 2 xen_ 1 inv_ 1 xen_ 0 inv_ 0 15 14 13 12 wlsb _3 inv_ 6 11 wlsb _2 xen_ 5 10 wlsb _1 inv_ 5 gen_ rst 9 wlsb _0 xen_ 4 8 gain _2 inv_ 4 7 gain _1 xen_ 3 6 gain _0 inv_ 3 5 nc xen_ 2 4 nc inv_ 2 3 nc xen_ 1 2 nc inv_ 1 1 nc xen_ 0 0 nc inv_ 0 wlsb_ wlsb_ wlsb 6 5 _4 xen_ 7 inv_7 xen_ 6
inv_7 xen_ 6
inv_7 xen_ 6
agc <5:0> agc <5:0>
Multiturn <7:0> angle <7:0>
WD2COS / WD2SIN: xen_X disables Hall element X from the sensor array in the cosine or sine channel; xinv_X inverts the voltage output of Hall element X in the channels.
www.austriamicrosystems.com
Revision 1.09
15 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
RD2COS / RD2SIN: The Hall array configuration for cosine and sine channel can be read out by these commands, initial values are 0. SET TEST CFG 1: gen_rst HI triggers a digital reset. WRITE CONFIG: go2sleep HI activates the sleep mode of the AS5130. The power consumption is significantly reduced. go2sleep LO returns to normal operation mode. During sleep mode, the lock bit in command 0 and command 1 is LO. WRITE CUST: With "wlsb_x" the threshold level for generation of a WAKE pulse is set (only important in polling mode). The initial value is 4 LSB. No value lower than 4 LSB can be set. The maximum value is 127 LSB. "gain_x" sets the gain in the signal HYST_RST: "setHyst" enables an additional hysteresis of the digital output signal. It is enabled by default. Only after 2 consecutive equal signals the output is changed. "rst_otp" forces the IC to read out the OTP in polling mode. This reset has to be performed after initial startup and every WAKE signal. "rst_multi" resets the multi turn counter to 0. READ CUST: With this command "wlsb_x" and "gain_x" can be read out. RD_BOTH: Angle and multi turn counter value can be read out simultaneously by this command. Due to limited data size, the parity bit is not available in this command. STORE REF: This command stores the actual angle as reference angle in the storage registers (only important in polling mode). The output is the stored angle (angle_stored), a flag, if the voltage at DVDD is OK (store_ok), a flag, if the supply voltage is OK (vdd_ok) and a check bit, if the register was written. RD_MULTI: Command for read out of multi turn register (multiturn) and AGC value (agc). "Lock" indicates a locked ADC and "parity" an even parity checksum. RD_ANGLE: Command for read out of angle value and AGC value (agc). "Lock" indicates a locked ADC and "parity" an even parity checksum.
Commands of the SSI in Extended Mode
For programming or readout of the OTP data, the chip has to be started with DVDD at a low voltage (polling mode off or cap discharged) or the OTP reset has to be performed. If not, the OTP is not read out and the OTP data is not available. Table 9. SSI in Extended Mode
# 31 30 29 28 27 26 25 24 15 PROG_ OTP cmd WRITE_ OTP bin mode <45:44> <43:32> <31:28> <27:26> OTP Test ID <25> OTP lock <24:23> <22:20> <19:16> <15:12> <11:9> VREF Hall Bias Osc <8> <7:0> Zero Angle Redund Sensiti Wake ancy vity enable
11111 xt write 11110 xt write 11101 xt write 11100 xt write 11011 xt write 11010 xt write 11001 xt write 11000 xt write 01111 xt read
OTP Test
ID
OTP lock
VREF
Hall Bias
Osc
Redund Sensiti Wake ancy vity enable
Zero Angle
OTP Test
ID
OTP lock
VREF
Hall Bias
Osc
Redund Sensiti Wake ancy vity enable
Zero Angle
www.austriamicrosystems.com
Revision 1.09
16 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
Table 9. SSI in Extended Mode
# 14 13 12 11 10 9 8 cmd bin mode <45:44> <43:32> <31:28> <27:26> <25> <24:23> <22:20> <19:16> <15:12> <11:9> <8> <7:0> 01110 xt read 01101 xt read 01100 xt read 01011 xt read 01010 xt read RD_OTP 01001 xt read _ANA 01000 xt read
WRITE OTP: Writing of the OTP register. The written data is volatile. "Zero Angle" is the angle, which is set for zero position. "Wake enable" enables the polling mode. "Sensitivity" is the gain setting in the signal path. "Redundancy is a number of bits, which allows the customer to overwrite one of the customer OTP bits <0:11>. PROG_OTP: Programming of the OTP register. Only Bits <0:15> can be programmed by the customer. RD_OTP: Read out the content of the OTP register. Data written by WRITE_OTP and PROG_OTP is read out. RD_OTP_ANA: Analog read out mode. The analog value of every OTP bit is available at pin 2 (PROG), which allows for a verification of the fuse process. No data is available at the SSI.
OTP Programming
For programming of the OTP, an additional voltage has to be applied to the pin PROG. It has to be buffered by a fast 100nF capacitor (ceramic) and a 10F capacitor. The information to be programmed is set by command 25. The OTP bits 16 to 45 are used for AMS factory trimming and cannot be overwritten. Figure 10. OTP Programming Connection
+5V AVDD VDD Output Output micro I/O controller 8.0 - 8.5V VSS VSS + 10F100n
VDD CS DCLK DIO PROG C1 AS5130 AS5130 100n
VSS
www.austriamicrosystems.com
Revision 1.09
17 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
Figure 11. External Circuitry for OTP Programming
maximum parasitic cable inductance
L<50nH
VSUPPLY VDD PROG GND PROM Cell
Vzapp C1 100nF C2 10F
Vprog
Symbol VDD GND V_zapp T_zapp f_clk
Parameter Supply Voltage Ground Level Programming Voltage Temperature CLK Frequency
Min 5 0 8 0
Max 5.5 0 8.5 85 100
Unit V V V C kHz
Notes
At pin PROG At pin DCLK
Programming Verification
After programming, the programmed OTP bits are verified in following two ways: By Digital Verification: This is simply done by sending a READ OTP command (#0FH, Refer to Table 9). The structure of this register is the same as for the OTP PROG or OTP WRITE commands. By Analog Verification: By sending an ANALOG OTP READ command (#09H), pin PROG becomes an output, sending an analog voltage with each clock, representing a sequence of the bits in the OTP register. A voltage of <500mV indicates a correctly programmed bit ("1") while a voltage level between 2.2V and 3.5V indicates a correctly unprogrammed bit ("0"). Any voltage level in between indicates improper programming. Figure 12. Analog OTP Verification
+5V VDD VDD Output Output micro I/O controller VSS VSS V 13 VDD CS CLK DIO
2
11 10 12
AS5130 AS5130
100n
PROG C1 C2 VSS 14 15 3
Redundancy Decoding
www.austriamicrosystems.com
Revision 1.09
18 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
If a bit is not fused properly (analog readout levels violated), the redundancy bits can be used as shown in the table below. Only one single bit can be overwritten with a logic HI. An improper fusing cannot be made undone. <15:12> 0000 0001 0010 0011 0100 0101 0110 0111 replaced bit none 0 1 2 3 4 5 6 <15:12> 1000 1001 1010 1011 1100 1101 1110 1111 replaced bit 7 8 9 10 11 none none none
Multi Turn Counter
An 8-bit register is used for counting the magnet's revolutions. With each zero transition in any direction, the output of a special counter is incremented or decremented. The initial value after reset is 0 LSB. The multi turn value is encoded as complement on two. Clockwise rotation gives increasing angle values and positive turn count. Counter clockwise rotation exhibits decreasing angle values and a negative turn count respectively. Bit Code 01111111 --00000011 00000010 00000001 00000000 11111111 11111110 11111101 --10000000 Decimal Value 127 --+3 +2 +1 0 -1 -2 -3 ---128
The counter output can be reset by using command 19 - HYST_RST. It is immediately reset by the rising clock edge of this bit. Any zero crossing between the clock edge and the next counter readout changes the counter value.
AS5130 Status Indicators
Lock Status Bit
The Lock signal indicates whether the angle information is valid (ADC locked, Lock = high) or invalid (ADC unlocked, Lock = low). To determine a valid angular signal at best performance, the following indicators should be set: Lock = 1 AGC = >00H and < 2FH Note: The angle signal may also be valid (Lock = 1), when the AGC is out of range (00H or 2FH), but the accuracy of the AS5130 may be reduced due to the out of range condition of the magnetic field strength.
www.austriamicrosystems.com
Revision 1.09
19 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
Magnetic Field Strength Indicators
The AS5130 is not only able to sense the angle of a rotating magnet, it can also measure the magnetic field strength (and hence the vertical distance) of the magnet. This additional feature can be used for several purposes: - as a safety feature by constantly monitoring the presence and proper vertical distance of the magnet - as a state-of-health indicator, e.g. for a power-up self test - as a pushbutton feature for rotate-and-push types of manual input devices The magnetic field strength information is available in two forms - Magnetic field strength hardware indicator and Magnetic field strength software indicator.
Magnetic Field Strength Hardware Indicator
Pin CAO (#1) will be low, when the magnetic field is too weak. The switching limit is determined by the value of the AGC. If the AGC value is <3FH , the CAO output will be high (green range), If the AGC is at its upper limit (3FH), the CAO output will be low (red range).
Magnetic Field Strength Software Indicator
D13:D7 in the serial data that is obtained by command READ ANGLE (see Table 8) contains the 6-bit AGC information. The AGC is an automatic gain control that adjusts the internal signal amplitude obtained from the Hall elements to a constant level. If the magnetic field is weak, e.g. with a large vertical gap between magnet and IC, with a weak magnet or at elevated temperatures of the magnet, the AGC value will be high. Likewise, the AGC value will be lower when the magnet is closer to the IC, when strong magnets are used and at low temperatures. The best performance of the AS5130 will be achieved when operating within the AGC range. It will still be operational outside the AGC range, but with reduced performance especially with a weak magnetic field due to increased noise.
Factors Influencing the AGC Value
In practical use, the AGC value will depend on several factors: The initial strength of the magnet. Aging magnets may show a reducing magnetic field over time which results in an increase of the AGC value. The effect of this phenomenon is relatively small and can easily be compensated by the AGC. The vertical distance of the magnet. Depending on the mechanical setup and assembly tolerances, there will always be some variation of the vertical distance between magnet and IC over the lifetime of the application using the AS5130. Again, vertical distance variations can be compensated by the AGC. The temperature and material of the magnet. The recommended magnet for the AS5130 is a diametrically magnetized 6mm diameter magnet. Other magnets may also be used as long as they can maintain to operate the AS5130 within the AGC range. Every magnet has a temperature dependence of the magnetic field strength. The temperature coefficient of a magnet depends on the used material. At elevated temperatures, the magnetic field strength of a magnet is reduced, resulting in an increase of the AGC value. At low temperatures, the magnetic field strength is increased, resulting in a decrease of the AGC value. The variation of magnetic field strength over temperature is automatically compensated by the AGC.
OTP Sensitivity Adjustment
To obtain best performance and tolerance against temperature or vertical distance fluctuations, the AGC value at normal operating temperature should be in the middle between minimum and maximum, hence it should be around 32 (20H). To facilitate the "vertical centering" of the magnet+IC assembly, the sensitivity of the AS5130 can be adjusted in the OTP register in 8 steps (see Table 9). The OTP sensitivity setting corresponds to the customer register setting gain <2:0>.
"Pushbutton" Feature
Using the magnetic field strength software and hardware indicators described above, the AS5130 provides a useful method of detecting both rotation and vertical distance simultaneously. This is especially useful in applications implementing a rotate-and-push type of human interface (e.g. in panel knobs and switches). The CAO output is low, when the magnetic field is below the low limit (weak or no magnet) and high when the magnetic field is above the low limit (in-range or strong magnet). A finer detection of a vertical distance change, for example when only short vertical strokes are made by the pushbutton, is achieved by memorizing the AGC value in normal operation and triggering on a change from that nominal the AGC value to detect a vertical movement.
www.austriamicrosystems.com
Revision 1.09
20 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
Figure 13. Magnetic Field Strength Indicator
+5V VDD LED1 VDD micro controller
1k VDD CAO Output Output I/O VSS CS DCLK DIO C1 VSS AS5130 AS5130 100n
VSS
High Speed Operation
The AS5130 is using a fast tracking ADC (TADC) to determine the angle of the magnet. The TADC has a tracking rate of 1.15s (typ). Once the TADC is synchronized with the angle, it sets the LOCK bit in the status register (see Table 8). In worst case, usually at start-up, the TADC requires a maximum of 127 steps (127 * 1.15S = 146,05s) to lock. Once it is locked, it requires only one cycle (1.15s) to track the moving magnet. The AS5130 can operate in locked mode at rotational speeds up to 30,000 rpm. In Low Power Mode, the position of the TADC is frozen. It will continue from the frozen position once it is powered up again. If the magnet has moved during the power down phase, several cycles will be required before the TADC is locked again. The tracking time to lock in with the new magnet angle can be roughly calculated as: tLOCK = 1.15s* |NewPos - OldPos| Where: tLOCK = time required to acquire the new angle after power up from one of the reduced power modes [s] OldPos = Angle position when one of the reduced power modes is activated [] NewPos = Angle position after resuming from reduced power mode [] (EQ 3)
Propagation Delay
The Propagation delay is the time required from reading the magnetic field by the Hall sensors to calculating the angle and making it available on the serial or PWM interface. While the propagation delay is usually negligible on low speeds, it is an important parameter at high speeds. The longer the propagation delay, the larger becomes the angle error for a rotating magnet as the magnet is moving while the angle is calculated. The position error increases linearly with speed. The main factors that contribute to the propagation delay are discussed in detail further in this document.
Sampling Rate
For high speed applications, fast ADC's are essential. The ADC sampling rate directly influences the propagation delay. The fast tracking ADC used in the AS5130 with a tracking rate of only 1.15s (typ) is a perfect fit for both high speed and high performance.
Chip Internal Lowpass Filtering
A commonplace practice for systems using analog-to-digital converters is to filter the input signal by an anti-aliasing filter. The filter characteristic must be chosen carefully to balance propagation delay and noise. The lowpass filter in the AS5130 has a cutoff frequency of typ. 23.8kHz and the overall propagation delay in the analog signal path is typ. 15.6s.
www.austriamicrosystems.com
Revision 1.09
21 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
Digital Readout Rate
Aside from the chip-internal propagation delay, the time required to read and process the angle data must also be considered. Due to its nature, a PWM signal is not very usable at high speeds, as you get only one reading per PWM period. Increasing the PWM frequency may improve the situation but causes problems for the receiving controller to resolve the PWM steps. The frequency on the AS5130 PWM output is typ. 1.95kHz with a resolution of 2s/step. A more suitable approach for high speed absolute angle measurement is using the serial interface. With a clock rate of up to 6MHz, a complete set of data (21bits) can be read in >3.5s.
Total Propagation Delay of the AS5130
The total propagation delay of the AS5130 is the delay in the analog signal path and the tracking rate of the ADC: 15.6s + 1.15s = 16.75s If only the SIN-/COS-outputs are used, the propagation delay is the analog signal path delay only (typ. 15.6s). (EQ 4)
Position Error Over Speed:
The angle error over speed caused by the propagation delay is calculated as: pd = rpm * 6 * 16.75E
-6
in degrees
(EQ 5) (EQ 6)
In addition, the anti-aliasing filter causes an angle error calculated as: lpf = ArcTan [rpm / (60*f0)]
Table 10. Examples of the Overall Position Error caused by Speed (includes both propagation delay and filter delay) Speed (rpm) 100 1000 10000 Total Position Error (pd + lpf) 0,0175 0,175 1,75
Reduced Power Modes
The AS5130 can be operated in three reduced power modes. All three modes have in common that they switch off or freeze parts of the chip during intervals between measurements. In Low Power Mode or Ultra Low Power Mode, the AS5130 is not operational, but due to the fast start-up, an angle measurement can be accomplished very quickly and the chip can be switched to reduced power immediately after a valid measurement has been taken. Depending on the intervals between measurements, very low average power consumption can be achieved using such a strobed measurement mode. Low Power Mode: reduced current consumption, very fast start-up. Ideal for short sampling intervals (<3ms). Power Cycling mode: zero power consumption (externally switched off) during sampling intervals, but slower startup than Polling Mode. Ideal for sampling intervals 200ms. Polling Mode: for reduction of the average power consumption; especially suited for battery powered applications.
Low Power Mode
The AS5130 can be put in Low Power Mode by simple serial commands, using the regular SSI commands. The required serial command is WRITE CONFIG (17H, Figure 3 on page 10). The angle data is valid, as soon as the LOCK- Flag is 1 (see Table 8). In Reduced Power Modes, the AS5130 is inactive. The last state, e.g. the angle, AGC value, etc. is frozen and the chip starts from this frozen state when it resumes active operation. This method provides much faster start-up than a "cold start" from zero.
www.austriamicrosystems.com
Revision 1.09
22 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
Figure 14. Low Power Mode and Ultra Low Power Mode Connection
R1 Ion ton toff Ioff
+5V VDD VDD on/off
VDD C1 100n
AS5130 N S AS5130 VSS C1
CS DCLK DIO
micro controller
VSS VSS
Mode Active Operation Low Power Mode
Current Consumption (typ) 14mA 1,4mA
Wake-up Time to Active Operation 1.0 ms (without AGC) 3.8 ms(with locked AGC) 0.15 ms
If the AS5130 is cycled between active and reduced current mode, a substantial reduction of the average supply current can be achieved. The minimum dwelling time in active mode is the wake-up time. The actual active time depends on how much the magnet has moved while the AS5130 was in reduced power mode. The angle data is valid, when the status bit LOCK has been set (see Table 8). Once a valid angle has been measured, the AS5130 can be put back to reduced power mode. The average power consumption can be calculated as: I active t on + I powerdown t off Iavg = -------------------------------------------------------------------t on + t off sampling interval = ton + toff (EQ 7)
Where: Iavg = Average current consumption Iactive = Current consumption in active mode Ipower_down = Current consumption in reduced power mode ton = Time period during which the chip is operated in active mode toff = Time period during which the chip is in reduced power mode
Reducing Power Supply Peak Currents
An optional RC-filter (Rx/Cx) may be added to avoid peak currents in the power supply line when the AS5130 is toggled between active and reduced power mode. Rx must be chosen such that it can maintain a VDD voltage of 4.5 - 5.5V under all conditions, especially during long active periods when the charge on Cx has expired. Cx should be chosen such that it can support peak currents during the active operation period. For long active periods, Cx should be large and Rx should be small.
Power Cycling Mode
The power cycling method shown in Figure 15 cycles the AS5130 by switching it on and off, using an external PNP transistor high side switch. The current consumption in off-mode is zero. It also has the longest start-up time of all modes, as the chip must always perform a "cold start" from zero, which takes about 1.9 ms (Compare with Low Power Mode on page 22).
www.austriamicrosystems.com
Revision 1.09
23 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
Figure 15. Power Cycling Mode
Rx
Ion 0 ton toff ton toff
+5V VDD VDD on/off micro controller
VDD
10k
Cx >F
100n
AS5130 N S AS5130 VSS C1
CS DCLK DIO
VSS VSS
The optional filter Rx/Cx may again be added to reduce peak currents in the 5V power supply line (see Reducing Power Supply Peak Currents on page 23).
Polling Mode
Target of this mode is a reduction of the average power consumption. In this mode, the IC supply is pulsed, thereby reducing the average power consumption to a fraction. The actual angle information and multi turn count value is not lost; polling mode is especially suited for battery powered applications. The IC is furthermore capable of generating a WAKE signal as soon as the magnet's position has changed, but only if the supply of the IC is powered-on again. By means of the WAKE signal, the system's power consumption can be further decreased, if certain modules are activated on demand. Figure 16. External Circuitry for Polling Mode
+5V DVDD AS5130 VSS WAKE VDD 100n t_off t_on t_wakeup >1.5K
The voltage at pin 16 (DVDD) determines whether polling mode is activated or not. Any voltage above 3.6V activates the polling functionality. This voltage must always be present at DVDD in order to hold the information in the registers.
www.austriamicrosystems.com
Revision 1.09
24 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
The procedure is as follows: 1. Initial startup: The circuit starts up with invalid trim values, which are read back from the storage registers; the command rst_otp (command 19 - 10011) must be sent to read out valid trim values from the OTP. 2. These values are copied to the storage registers if OTP<8> (Wake enable) is set (must be set for polling mode). 3. The values of AGC counter, actual angle, multi turn counter, hysteresis setting, wake threshold and gain setting are continuously updated in the storage registers. 4. The actual angle is stored as a reference by sending command STORE REF (command 3 - 00011). without this reference angle, a WAKE is generated at every startup. 5. The update of the storage registers is stopped if VDD drops below 4.45V and then the information is stored (DVDD) at the next startup (VDD on), the values are read back from the storage registers and the measured angle is compared with the stored reference angle; if the difference between both exceeds the threshold, a WAKE pulse is generated.
VDD on (fast) POR (40us... 150us) LO reset & reset_storage WAKE (26 clk periods) OTP readout (46bit - 140us ... 400us) LO Normal mode WAKE_ON store_ok ? Copy to Storage Normal mode HI true WAKE (20 clk periods) true command rst_otp false store_ok reset digital core only Retrieve values from storage registers Wait (162 clks - 86us ... 95us) Compare mode | measured - HI
stored| > threshold
false
OTP readout (OTP <8> = HI
Figure 18 shows the behavior of the wake up signal. The wake up signal will be low for twakeup = 10us. After that, the wake up signal will go to tri-state condition. In case of an angle comparison with a result below the threshold, the signal will remain in tri-state condition. After switching on AVDD, the system needs max. 250us to generate an angle with maximum accuracy. A WAKE signal cannot be expected until the end of this period.
WAKE Interface
An open drain NMOS structure is used in the WAKE pad. In order to generate a clear output signal level, a pull up resistor is required. The pad can drive 4mA.
www.austriamicrosystems.com
Revision 1.09
25 - 40
AS5130
Data Sheet - D e t a i l e d D e s c r i p t i o n
Figure 17. WAKE Output Pin
AVDD
pull up resistor PAD WAKE
AS5130
Symbol Rpull_up twake up ton toff
Parameter Pull up resistor Wake up pulse On-time Off-time
Min 1.5 10 250 ---
Max 100 17 -----
Unit k s s ms
Notes The used pad can drive 4mA. Interrupt signal to external devices, tri-state output, low active. Time for power up in polling mode. No limit unless DVDD is always supplied.
Figure 18. Wake Up Signal During Polling Mode of AVDD
t_on t_off t_on
AVDD
tri-state WAKE
tri-state
t_wakeup delta (actual - reference angle) > threshold delta (actual - reference angle) www.austriamicrosystems.com
Revision 1.09
26 - 40
AS5130
Data Sheet - A p p l i c a t i o n I n f o r m a t i o n
8 Application Information
Benefits of AS5130
Complete system-on-chip Flexible system solution providing absolute angle position, with serial data and PWM output Ideal for applications in harsh environments due to magnetic sensing principle High reliability due to non-contact sensing Robust system, tolerant to misalignment, airgap variations, temperature variations and external magnetic fields
Application Example 1
The AS5130 requires the serial interface via SSI for the programming of the OTP register. This configuration is recommended for applications, where the supply voltage for the AS5130 is shared among other parallel IC's during programming, such as a microcontroller. Figure 19. Programming via SSI Serial Interface
+5V AVDD VDD PROG 100n AS5130 AS5130 DIO DCLK CS VSS VSS VSS Programming tool VDD
7.7V + -
Application Example II 3-wire sensor with magnetic field strength indication
In Figure 20, a simple 360 sensor with PWM output is shown. The complete application requires only three wires, VDD, VSS and the PWM output. The circle over the center of the chip represents the diametrically polarized magnet. Additionally, the CAO pin will deliver an analog voltage indicating a missing magnetic field. This signal could be used to drive an external LED or to detect an alert signal.
www.austriamicrosystems.com
Revision 1.09
27 - 40
AS5130
Data Sheet - A p p l i c a t i o n I n f o r m a t i o n
Figure 20. 3-Wire Angle Sensor
+5V 1k LED1 VDD PROG CAO 100n CS AS5130 N S DCLK AS5130 VSS DIO CAO PWM PWM out
VSS
Application Example III: Low-power encoder
Via SSI, the AS5130 will be able to toggle between active mode and low power mode. In active mode, the current consumption is ~15mA and in sleep mode 2mA. The fastest possible startup time from low power mode is 150s. The AS5130 can be periodically switched between active and low power mode, the average power consumption depends on the duty cycle. In order to read out the correct data, the active mode time must be larger than 150s. Figure 21. Low Power Encoder
+5V AVDD VDD CS
CLK
VDD on/off
100n
AS5130 N S AS5130 VSS
micro controller
DIO VSS VSS
I active t on + I powerdown t off Iavg = -------------------------------------------------------------------t on + t off Example: sampling period = one measurement every 10ms.
(EQ 8)
System constants = Iactive = 15mA, Ipower_down = 2 mA, toff = 9,85ms, ton(min) = 150s (start-up from low power mode): 15mA 150s + 2mA 9, 85ms Iavg = ------------------------------------------------------------------------- = 2.195mA 150s + 9, 85ms (EQ 9)
www.austriamicrosystems.com
Revision 1.09
28 - 40
AS5130
Data Sheet - A p p l i c a t i o n I n f o r m a t i o n
Application Example IV: Polling mode
Figure 22. Polling Mode
+5V AVDD VDD on/off micro controller
ton toff
AVDD
10k CS CLK DIO
Cx >1F
100n +5V
AS5130 N S AS5130 VSS
Once powered up for at least 2.5ms, the AS5130 can be operated in a pulsed mode, where it is periodically turned on/ off by a high side FET (PMOS) switching transistor with a low Ron (<10). The on-time is at least 250s in order to perform one measurement. A valid measurement result can be verified by checking the lock bit (ADC is locked) in the serial data stream. After startup an OTP reset has to be performed in order to read out valid trimming information. Then a special SSI command (STORE REF) copies the actual angle into a buffered reference angle register. Now the AS5130 can be turned off. Special registers will be buffered by the low power supply and will keep the actual settings. After a ton of min. 250 us, the actual angle is compared with the stored reference angle. If the angle difference is larger than a threshold value (wlsb, SSI command WRITE CUST), the AS5130 will send an interrupt request to an external device via the WAKE pin. Due to the internal POR level of the IC, ton starts after VDD has reached 4.3V (worst case POR level).The average power consumption in this pulsed mode depends on the supply current in active mode and the duty cycle of the on/off pulse: I active t on Iavg = -----------------------t on + t off 19mA 250s Iavg = ------------------------------------------ = 47.5A 250s + 99.75ms (EQ 10)
Example: Sampling period = one measurement every 100ms. System constants = Iactive = 19mA, ton(min) = 250s: (EQ 11)
Accuracy of the Encoder system
This section enlightens on the individual factors that influence the accuracy of the encoder system, and provides techniques to improve them. Accuracy is defined as the difference between measured angle and actual angle. This is not to be confused with resolution, which is the smallest step that the system can resolve. The two parameters are not necessarily linked together. A high resolution encoder may not necessarily be highly accurate as well.
DVDD
VSS VSS
Quantization Error
There is however a direct link between resolution and accuracy, which is the quantization error:
www.austriamicrosystems.com
Revision 1.09
29 - 40
AS5130
Data Sheet - A p p l i c a t i o n I n f o r m a t i o n
Figure 23. Quantization Error of a Low Resolution and a High Resolution System
Quantization Error
ideal function digitized function
ideal function digitized function
low resolution
high resolution
+1/2 LSB -1/2 LSB
error
+1/2 LSB -1/2 LSB
The resolution of the encoder determines the smallest step size. The angle error caused by quantization cannot get better than 1/2 LSB. As shown in Figure 23, a higher resolution system (right picture) has a smaller quantization error, as the step size is smaller. For the AS5130, the quantization error is 1/2 LSB = 0.7 Figure 24. Typical INL Error over 360
INL including quantization error
1,5 1 0,5 INL [] 0 -0,5 -1 -1,5 0 45 90 135 180 Angle steps INL Average (16x) 225 270 315 360
Figure 24 shows a typical example of an error curve over a full turn of 360 at a given X-Y- displacement. The curve includes the quantization error, transition noise and the system error. The total error is ~2.2 peak/peak (+/-1.1). The sawtooth-like quantization error (see Figure 23) can be reduced by averaging, provided that the magnet is in constant motion and there are an adequate number of samples available. The solid bold line in Figure 24 shows the moving average of 16 samples. The INL (intrinsic non-linearity) is reduced to from ~+/- 1.1 down to ~ +/-0.3. The averaging however, also increases the total propagation delay, therefore it may be considered for low speeds only or adaptive; depending on speed (see Position Error Over Speed: on page 22).
www.austriamicrosystems.com
Revision 1.09
30 - 40
AS5130
Data Sheet - A p p l i c a t i o n I n f o r m a t i o n
Vertical Distance of the Magnet
The chip-internal automatic gain control (AGC) regulates the input signal amplitude for the tracking-ADC to a constant value. This improves the accuracy of the encoder and enhances the tolerance for the vertical distance of the magnet. Figure 25. Typical Curves for Vertical Distance versus ACG Value on Several Untrimmed Samples
Linearity and AGC vs Airgap
64 56 48 AGC value 40 32 24 16 8 0 0 500 1000 1500 Airgap [m] sample#1 sample#2 sample#3 sample#4 Linearity [] 2000 1,2 1,0 2500 Linearity [] 1,8 1,6 1,4 2,2 2,0
As shown in Figure 25, the AGC value (left Y-axis) increases with vertical distance of the magnet. Consequently, it is a good indicator for determining the vertical position of the magnet, for example as a pushbutton feature, as an indicator for a defective magnet or as a preventive warning (e.g. for wear on a ball bearing etc.) when the nominal AGC value drifts away. If the magnet is too close or the magnetic field is too strong, the AGC will be reading 0. If the magnet is too far away (or missing) or if the magnetic field is too weak, the AGC will be reading 63 (3FH). The AS5130 will still operate outside the AGC range, but the accuracy may be reduced as the signal amplitude can no longer be kept at a constant level. The linearity curve in Figure 25 (right Y-axis) shows that the accuracy of the AS5130 is best within the AGC range, even slightly better at small airgaps (0.4 - 0.8mm). At very short distances (0 - 0.1) the accuracy is reduced, mainly due to nonlinearities in the magnetic field. At larger distances, outside the AGC range (~2.0 - 2.5mm and more) the accuracy is still very good, only slightly decreased from the nominal accuracy. Since the field strength of a magnet changes with temperature, the AGC will also change when the temperature of the magnet changes. At low temperatures, the magnetic field will be stronger and the AGC value will decrease. At elevated temperatures, the magnetic field will be weaker and the AGC value will increase.
Choosing the Proper Magnet
There is no strict requirement on the type or shape of the magnet to be used with the AS5130. It can be cylindrical as well as square in shape. The key parameter is that the vertical magnetic field Bz measured at a radius of 1mm from the rotation axis is sinusoidal with a peak amplitude of 20..80mT (see Figure 26).
www.austriamicrosystems.com
Revision 1.09
31 - 40
AS5130
Data Sheet - A p p l i c a t i o n I n f o r m a t i o n
Figure 26. Vertical Magnetic Fields of a Rotating Magnet
typ. 6mm diameter
N
S
Magnet axis R1
Magnet axis
Vertical field component
N
S
R1 concentric circle; radius 1.0 mm Vertical field component Bz (20...80mT)
0
360
360
Magnet Placement
Ideally, the center of the magnet, the diagonal center of the IC and the rotation axis of the magnet should be in one vertical line. The lateral displacement of the magnet should be within +/-0.25mm from the IC package center or +/0.5mm from the IC center, including the placement of the chip within the IC package. The vertical distance should be chosen such that the magnetic field on the die surface is within the specified limits. The typical distance "z" between the magnet and the package surface is 0.5mm to 1.8mm with the recommended magnet (6mm x 2.5mm). Larger gaps are possible, as long as the required magnetic field strength stays within the defined limits. A magnetic field outside the specified range may still produce acceptable results, but with reduced accuracy. The out-of-range condition will be indicated, when the AGC is at the limits (AGC= 0 : field too strong; AGC=63=(3FH): field too weak or missing magnet).
www.austriamicrosystems.com
Revision 1.09
32 - 40
AS5130
Data Sheet - A p p l i c a t i o n I n f o r m a t i o n
Figure 27. Bz Field Distribution Along the X-axis of a 6mmO Diametric Magnetized Magnet
Bz; 6mm magnet @y=0; z=1mm
N
0.0015
S
0.001
0.0005
0
-0.0005
-0.001
-0.0015 3.5 2.5 1.5 0.5 -0.5 -1.5 -2.5 -3.5 X-displacement [mm]
Figure 27 shows a cross sectional view of the vertical magnetic field component Bz between the north and south pole of a 6mm diameter magnet, measured at a vertical distance of 1mm. The poles of the magnet (maximum level) are about 2.8mm from the magnet center, which is almost at the outer magnet edges. The magnetic field reaches a peak amplitude of ~+/-106mT at the poles. The Hall elements are located at a radius of 1mm (indicated as squares at the bottom of the graph). Due to the side view, the two Hall elements at the Y-axis are overlapping at X=0mm, therefore only 3 Hall elements are shown. At 1mm radius, the peak amplitude is ~+/-46mT, respectively a differential amplitude of 92mT. The vertical magnetic field Bz follows a fairly linear pattern up to about 1.5mm radius. Consequently, even if the magnet is not perfectly centered, the differential amplitude will be the same as for a centered magnet. For example, if the magnet is misaligned in X-axis by -0.5mm, the two X-Hall sensors will measure 70mT (@x= 1.5mm) and -22mt (@x= -0.5mm). Again, the differential amplitude is 92mT. At larger displacements however, the Bz amplitude becomes nonlinear, which results in larger errors that mainly affect the accuracy of the system (see Figure 29).
www.austriamicrosystems.com
Revision 1.09
33 - 40
AS5130
Data Sheet - A p p l i c a t i o n I n f o r m a t i o n
Figure 28. Vertical Magnetic Field Distribution of a Cylindrical 6mmO Diametric Magnetized Magnet at 1mm Gap
BZ; 6mm magnet @ Z=1mm
N
125 100 75 50
Bz [mT]
area of X-Y-misalignment from center: +/- 0.5mm circle of Hall elements on chip: 1mm radius
25 0 -25 -50 -75 -100 -125
4 3 2 2
S
-1 1 -2 0 -1 -3 -2 -4 -3
1 0
2
3
4
Y-displacement [mm]
X-displacement [mm]
Figure 28 shows the same vertical field component as Figure 27, but in a 3-dimensional view over an area of +/-4mm from the rotational axis.
Lateral Displacement of the Magnet
As shown in the magnet specifications (see Parameters for Magnet under Electrical Characteristics on page 6), the recommended horizontal position of the magnet axis with respect to the IC package center is within a circle of 0.25mm radius. This includes the placement tolerance of the IC within the package. Figure 29 shows a typical error curve at a medium vertical distance of the magnet around 1.2mm (AGC = 24). The Xand Y- axis of the graph indicate the lateral displacement of the magnet center with respect to the IC center. At X=Y=0, the magnet is perfectly centered over the IC. The total displacement plotted on the graph is for 1mm in both directions. The Z-axis displays the worst case INL error over a full turn at each given X-and Y- displacement. The error includes the quantization error of 0.7 (refer to Quantization Error on page 29). For example, the accuracy for a centered magnet is between 1.0 - 1.5 (spec = 2 over full temperature range). Within a radius of 0.5mm, the accuracy is better than 2.0 (spec = 3 over temperature).
www.austriamicrosystems.com
Revision 1.09
34 - 40
AS5130
Data Sheet - A p p l i c a t i o n I n f o r m a t i o n
Figure 29. Typical Error Curve of INL Error Over Lateral Displacement (including quantization error)
INL vs. Displacement: AS5030 for AGC24
4,500-5,000 4,000-4,500 5,000 4,500 4,000 3,500 3,000 2,500 INL [] 2,000 1,500 1,000 0,500 0,000 -1000 -750 3,500-4,000 3,000-3,500 2,500-3,000 1000 750 500 250 0 -250 -500 -250 0 250 X Displacem ent [m ] 500 750 1000 -500 -750 -1000 Y Displacem ent [m ] 2,000-2,500 1,500-2,000 1,000-1,500 0,500-1,000 0,000-0,500
Magnet Size
Figure 27 to Figure 29 illustrate a cylindrical magnet with a diameter of 6mm. Smaller magnets may also be used, but since the poles are closer together, the linear range will also be smaller and consequently the tolerance for lateral misalignment will also be smaller. If the 0.25mm lateral misalignment radius (rotation axis to IC package center) is too tight, a larger magnet can be used. Larger magnets have a larger linear range and allow more misalignment. However at the same time the slope of the magnet is more flat, which results in a lower differential amplitude. This requires either a stronger magnet or a smaller gap between IC and magnet in order to operate in the amplitude-controlled area (AGC >0 and AGC < 63). In any case, if a magnet other than the recommended 6mm diameter magnet is used, two parameters should be verified: Verify, that the magnetic field produces a sinusoidal wave, when the magnet is rotated. Note that this can be done with the SIN-/COS- outputs of the AS5130; e.g. rotate the magnet at constant speed and analyze the SIN- (or COS-) output with an FFT-analyzer. It is recommended to disable the AGC for this test (see Analog Sin/Cos Outputs with External Interpolator on page 14). Verify that the Bz-Curve between the poles is as linear as possible (see Figure 27). This curve may be available from the magnet supplier(s). Alternatively, the SIN- or COS- output of the AS5130 may also be used together with an X-Y- table to get a Bz-scan of the magnet (as in Figure 27 or Figure 28). Furthermore, the sinewave tests
www.austriamicrosystems.com
Revision 1.09
35 - 40
AS5130
Data Sheet - A p p l i c a t i o n I n f o r m a t i o n
described above may be re-run at defined X-and Y- misplacements of the magnet to determine the maximum acceptable lateral displacement range. It is recommended to disable the AGC for both these tests (see Analog Sin/ Cos Outputs with External Interpolator on page 14). Note: For preferred magnet suppliers, please refer to the austriamicrosystems website (Rotary Encoder section).
www.austriamicrosystems.com
Revision 1.09
36 - 40
AS5130
Data Sheet - P a c k a g e D r a w i n g s a n d M a r k i n g s
9 Package Drawings and Markings
The device is available in a 16-Lead Shrink Small Outline Package. Figure 30. SSOP-16 Package Drawings
AYWWIZZ AS5130
Table 11. SSOP-16 package dimensions Symbol A A1 A2 b c D E E1 e K L 0 0.63 mm Min 1.73 0.05 1.68 0.25 0.09 6.07 7.65 5.2 Typ 1.86 0.13 1.73 0.315 6.20 7.8 5.3 0.65 0.75 8 0.95 0 0.025 Max 1.99 0.21 1.78 0.38 0.20 6.33 7.9 5.38 Min 0.068 0.002 0.066 0.010 0.004 0.239 0.301 0.205 inch Typ 0.073 0.005 0.068 0.012 0.244 0.307 0.209 0.0256 0.030 8 0.037 Max 0.078 0.008 0.070 0.015 0.008 0.249 0.311 0.212
www.austriamicrosystems.com
Revision 1.09
37 - 40
AS5130
Data Sheet - P a c k a g e D r a w i n g s a n d M a r k i n g s
Recommended PCB Footprint
Figure 31. PCB Footprint
Table 12. Recommended Footprint Data Symbol A B C D E mm 9.02 6.16 0.46 0.65 5.01 inch 0.355 0.242 0.018 0.025 0.197
www.austriamicrosystems.com
Revision 1.09
38 - 40
AS5130
Data Sheet - O r d e r i n g I n f o r m a t i o n
10 Ordering Information
The devices are available as the standard products shown in Table 13. Table 13. Ordering Information Model AS5130ASST AS5130ASSU Description Delivery Form Tape & Reel Tubes Package SSOP-16 SSOP-16
www.austriamicrosystems.com
Revision 1.09
39 - 40
AS5130
Data Sheet - O r d e r i n g I n f o r m a t i o n
Copyrights
Copyright (c) 1997-2009, austriamicrosystems AG, Schloss Premstaetten, 8141 Unterpremstaetten, Austria-Europe. Trademarks Registered (R). All rights reserved. The material herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. All products and companies mentioned are trademarks or registered trademarks of their respective companies.
Disclaimer
Devices sold by austriamicrosystems AG are covered by the warranty and patent indemnification provisions appearing in its Term of Sale. austriamicrosystems AG makes no warranty, express, statutory, implied, or by description regarding the information set forth herein or regarding the freedom of the described devices from patent infringement. austriamicrosystems AG reserves the right to change specifications and prices at any time and without notice. Therefore, prior to designing this product into a system, it is necessary to check with austriamicrosystems AG for current information. This product is intended for use in normal commercial applications. Applications requiring extended temperature range, unusual environmental requirements, or high reliability applications, such as military, medical life-support or life-sustaining equipment are specifically not recommended without additional processing by austriamicrosystems AG for each application. For shipments of less than 100 parts the manufacturing flow might show deviations from the standard production flow, such as test flow or test location. The information furnished here by austriamicrosystems AG is believed to be correct and accurate. However, austriamicrosystems AG shall not be liable to recipient or any third party for any damages, including but not limited to personal injury, property damage, loss of profits, loss of use, interruption of business or indirect, special, incidental or consequential damages, of any kind, in connection with or arising out of the furnishing, performance or use of the technical data herein. No obligation or liability to recipient or any third party shall arise or flow out of austriamicrosystems AG rendering of technical or other services.
Contact Information
Headquarters austriamicrosystems AG A-8141 Schloss Premstaetten, Austria Tel: +43 (0) 3136 500 0 Fax: +43 (0) 3136 525 01 For Sales Offices, Distributors and Representatives, please visit: http://www.austriamicrosystems.com/contact
www.austriamicrosystems.com
Revision 1.09
40 - 40


▲Up To Search▲   

 
Price & Availability of AS5130ASST

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X